package com.aaa.dao.mht;

import com.aaa.entity.mht.TMhtSub;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * (TFpaSub)表数据库访问层
 * 
 * @author yuyongli
 * @since 2022-10-22 17:05:00
 */
@Repository
public interface TMhtSubMapper extends Mapper<TMhtSub> {
    int insertMhtSubjects(List<TMhtSub> testImport);
    List<TMhtSub> findAllSub(TMhtSub tMhtSub);
    /*
     * 删除选中行
     * */
    int delmhtbath(Integer[] id);


    /*
     * 判断题目是否被做过(批量)
     * */
    List<Map<String,Object>> zuotiduo(Integer[] mhtno);

    /*
     * 判断题目是否做过(单)
     * */
    List<Map<String,Object>> selectTopic(TMhtSub tMhtSub);

}

